<?php
/**
 *
 */

namespace Application\Service;

use Application\Dao\LoginDao;
use Infobird\Service\BaseService;

class LoginService extends BaseService
{

	private $loginDao;

	function __construct(){
		$this->loginDao = new LoginDao();
	}

    /**
     * 功能：1、检查是否登录
     * @param $userName
     * @param $password
     * @return array
     */
    public function checkLogin($userName,$password){
        return $this->loginDao->checkLogin($userName,$password);
    }

}